<%@ page contentType="text/html;charset=UTF-8" %>
<ul class="layui-nav layui-bg-cyan">
    <span style="margin-left: 20px; margin-right: 20px;">欢迎使用强大工具</span>
    <li class="layui-nav-item layui-this">
        <a href="javascript:void(0);" onclick='gotoPage("sudo/index");'>数独解题</a>
    </li>
    <li class="layui-nav-item" style="float:right">
        <a href="javascript:void(0);"><img src="//t.cn/RCzsdCq" class="layui-nav-img">我</a>
        <dl class="layui-nav-child">
            <dd><a href="javascript:void(0);">修改信息</a></dd>
            <dd><a href="javascript:void(0);">安全管理</a></dd>
            <dd><a href="javascript:void(0);">退了</a></dd>
        </dl>
    </li>
</ul>
<script type="text/javascript">
    layui.use('element', function () {
        var element = layui.element; //导航的hover效果、二级菜单等功能，需要依赖element模块
        element.init();
    });
    function gotoPage(page){
        $("#main_index_body").load(page);
    }
</script>